	<h2><?php __('Un Emailed References');?></h2>
	<table cellpadding="0" cellspacing="0" id="list">
	<tr class="head">
			<th><?php echo $this->Paginator->sort('created');?></th>
			<th><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('lastname');?></th>
			<th><?php echo $this->Paginator->sort('firstnam');?></th>
			<th><?php echo $this->Paginator->sort('email');?></th>
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($this->data as $reference):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="even"';
		} else 
			$class = ' class="odd"';
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $reference['Reference']['created']; ?>&nbsp;</td>
		<td><?php echo $reference['Reference']['id']; ?>&nbsp;</td>
		<td>
		  <?php echo $reference['Reference']['lastname']; ?>
		</td>
		<td>
		  <?php echo $reference['Reference']['firstname']; ?>
		</td>
		<td>
		  <?php echo $reference['Reference']['email']; ?>
		</td>
		<td class="actions">
			<?php echo $this->Html->link(__('Send email', true), array('action' => 'adminEmail', $reference['Reference']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
